﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using EzDesk.Project.Model;

namespace EzDesk.Project.DesktopWeb.Models
{
    public class GanttProjectModel
    {
        public GanttProjectModel() { }

        public GanttProjectModel(ProjectBasicInfo basicInfo)
        {
            this.Name = basicInfo.ProjectName;
            this.Description = basicInfo.Remark;
            this.Planes = new GanttPlaneTaskModel[0];
        }

        public string Name { get; set; }
        public string Description { get; set; }
        public GanttPlaneTaskModel[] Planes;
    }
}